<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->getOption('sitename'); ?> - 后台管理</title>
<link type="text/css" rel="stylesheet" href="<?php echo FLEA::getAppInf( 'tpldir' );?>/img/simple-min.css" />
</head>
<?php
$menus = array(
    'column' => '栏目',
    'user' => '用户',
    'settings' => '设置',
);
$_colkey = $_GET[FLEA::getAppInf( 'columnAccessor' )];
$admin = $this->_dispatcher->getUser();
?>
<body>
<div id="wrap">
    <div id="header">
        <div id="logo"></div>
        <div id="menu">
            <div class="user-plane">您好，<?php echo $admin['username']; ?> <span><a href="/" target="_blank">[浏览网站]</a></span> <span><a href="<?php echo $this->_url('login','logout'); ?>">[退 出]</a></span></div>
            <div class="menu">
                <ul class="after-clear">
                    <li><a href="<?php echo $this->_url('default'); ?>"<?php if(!$data['focus']){ echo ' class="focus"'; } ?>>首页</a></li>
<?php foreach($menus as $module => $name): ?>
                    <li><a href="<?php echo $this->_url($module); ?>"<?php if($data['focus']==$module){ echo ' class="focus"'; } ?>><?php echo $name; ?></a></li>
<?php endforeach; ?>
                    <li style="display:none"><a href="#">语言</a></li>
                </ul>
            </div>
          <div class="clear"></div>
          <div id="position">首页 &raquo; <?php echo !$data['focus']?'控制台':$menus[$data['focus']]; ?> &raquo; <?php echo $data['column']?$data['column']['name']:'' ?></div>
        </div>
    </div>